Make recompute take a const.
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Fri, 28 Apr 2006 17:03:34 +0000 (17:03 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Fri, 28 Apr 2006 17:03:34 +0000 (17:03 +0000)
gpsbabel/route.c

index 108d1046034377e4ba29fadfd0c9bab92a71d2c9..df156b0a9224c9fe601c203330b2caf57e58ccbe 100644 (file)
@@ -448,7 +448,7 @@ track_restore( queue *head_bak)
  * Run over all the trackpoints, computing heading (course), speed, and
  * and so on.
  */
-void track_recompute(route_head *trk)
+void track_recompute(const route_head *trk)
 {
        waypoint first;
        waypoint *this;